From: sunflowerskater Date: Thu, 12 Jan 2023 01:38:07 +0000 (-0300) Subject: keyboard: Add "Keyboard Settings" menu entry X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~175 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ed364e4e416f1a0c0d2d4070797ef96165f7f151;p=gnome-shell.git keyboard: Add "Keyboard Settings" menu entry The keyboard popover doesn't have a shortcut to open the Keyboard panel from the Settings app. This commit adds this menu entry to improve usability. Part-of: --- diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index b47375d64..fff4e73c2 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -857,6 +857,8 @@ class InputSourceIndicator extends PanelMenu.Button { this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); this._showLayoutItem = this.menu.addAction(_("Show Keyboard Layout"), this._showLayout.bind(this)); + this.menu.addSettingsAction(_('Keyboard Settings'), + 'gnome-keyboard-panel.desktop'); Main.sessionMode.connect('updated', this._sessionUpdated.bind(this)); this._sessionUpdated();